python array of tuples for loop

41

coordinates = [(0,0),(0,3),(1,0),(1,2),(1,3)]

for (i,j) in coordinates:
    print i,j

Comments

Submit
0 Comments